package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Appraisal;

/**
 * 考核申请Service接口
 * 
 * @author ruoyi
 * @date 2023-11-13
 */
public interface IAppraisalService 
{
    /**
     * 查询考核申请
     * 
     * @param id 考核申请主键
     * @return 考核申请
     */
    public Appraisal selectAppraisalById(Long id);

    /**
     * 查询考核申请列表
     * 
     * @param appraisal 考核申请
     * @return 考核申请集合
     */
    public List<Appraisal> selectAppraisalList(Appraisal appraisal);

    /**
     * 新增考核申请
     * 
     * @param appraisal 考核申请
     * @return 结果
     */
    public int insertAppraisal(Appraisal appraisal);

    /**
     * 修改考核申请
     * 
     * @param appraisal 考核申请
     * @return 结果
     */
    public int updateAppraisal(Appraisal appraisal);

    /**
     * 批量删除考核申请
     * 
     * @param ids 需要删除的考核申请主键集合
     * @return 结果
     */
    public int deleteAppraisalByIds(Long[] ids);

    /**
     * 删除考核申请信息
     * 
     * @param id 考核申请主键
     * @return 结果
     */
    public int deleteAppraisalById(Long id);
}
